package com.example.otto.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName(value = "task")
public class Task {
    @TableId(type = IdType.AUTO)
    private int num;
    private Date date;
    private String position;
    private String description;
    @TableField(value = "workerId")
    private String workerId;
    @TableField(value = "workerPhone")
    private String workerPhone;
    private String name;
    private String phone;
    private String state;
    @TableField(value = "userId")
    private String userId;
    private String comment;

}
